package com.yunhe.day322.dao;

import com.yunhe.day322.domain.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionDao {
   public List<Permission> findPerByRid(int rid);
   List<Permission> findById(int rid);

    List<Permission> findAll();

    void save(Permission permission);

    void deletePerMission(int id);

    void deleteRp(int id);
}
